import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  { name: 'index', path: '/', component: () => import('../pages/index.vue') },
  { name: 'wallpaper', path: '/:id', component: () => import('../pages/index.vue') },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes,
})

export default router
